home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Extensions / example / README < prev    next >
Encoding:
Text File  |  1994-10-11  |  681 b   |  14 lines  |  [TEXT/R*ch]

  1. This directory is a trivial example of how to set up a new extension.
  2.  
  3. Generally, Makefile.pre.in is the same for all extensions.  You edit
  4. it only to point to the installed version of Python that you want to
  5. use.  Everything that's dependent on the particular extension is in
  6. the file Setup -- which has the same format (and is processed by the
  7. same script) as the Modules/Setup file in the main Python
  8. distribution.  Read that file (actually, Setup.in there) for detailed
  9. instructions -- basically, you comment out lines for modules you don't
  10. want and you edit the -I, -l and -L options and variable definitions
  11. if necessary.
  12.  
  13. Detailed build instructions are in Makefile.pre.in.
  14.